﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using OgilvyOne.BLL;

public partial class admin_logout : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Session.RemoveAll();

        /*
         * 代码添加
         * 添加日期：2012-01-15
         * 添加人员：刘扬
         * 添加人员：雀巢网站使用负载均衡导致Session丢失后，采用了新的Session机制，此处需要调用方法移除Session
         * */
        CmsUserSessionBll bll = new CmsUserSessionBll();
        bll.Remove();

        Response.Redirect("login.aspx");
    }
}
